package com.threeox.permissions;


import java.io.Serializable;
import java.lang.reflect.Method;

/**
 * 
 * @ClassName: PermissionsMessage
 * 
 * @Description: TODO(权限的对象)
 * 
 * @author 赵屈犇
 * 
 * @date 创建时间: 2017/8/24 14:50
 * 
 * @version 1.0
 * 
 */
public class PermissionsMessage implements Serializable{

    private Method method;
    private int requestCode;
    private String[] permissions;
    private Object[] methodParams;// 函数的参数
    private boolean isShowCause = true;// 是否在失败是弹窗

    public Method getMethod() {
        return method;
    }

    public void setMethod(Method method) {
        this.method = method;
    }

    public int getRequestCode() {
        return requestCode;
    }

    public void setRequestCode(int requestCode) {
        this.requestCode = requestCode;
    }

    public String[] getPermissions() {
        return permissions;
    }

    public void setPermissions(String[] permissions) {
        this.permissions = permissions;
    }

    public Object[] getMethodParams() {
        return methodParams;
    }

    public void setMethodParams(Object[] methodParams) {
        this.methodParams = methodParams;
    }

    public boolean isShowCause() {
        return isShowCause;
    }

    public void setShowCause(boolean showCause) {
        isShowCause = showCause;
    }
}
